﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TerrainSystem;

public interface IBuildable
{
	void Despawn ();
	void UpdatePosition (TerrainObject terrain, Vector2Int? coord);
	void Rotate (int rotation = 1);

	void Flip ();
	bool TryPlace (TerrainObject terrain, Vector2Int? coord);
	bool CanViewPlace (TerrainObject terrain, Vector2Int? coord);
}

public interface IBuildableSetting { }